<include file="public@header"/>
</head>
<body>
<div class="wrap">
   
    <form method="post" class="form-horizontal js-ajax-form margin-top-20 form" action="{:url('template/editPost')}" >
       <div class="form-group">
				<label for="input-name" class="col-sm-2 control-label ">模板名称<span class="form-required">*</span></label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-name" name="name" value="{$template.name}">
				</div>
			</div>
			<div class="form-group">
				<label for="input-progress" class="col-sm-2 control-label">模块组数量<span class="form-required">*</span></label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-progress" name="progress" value="{$template.progress}">
				</div>
			</div>
			<div class="form-group">
				<label for="input-num" class="col-sm-2 control-label">小组成员上线数量<span class="form-required">*</span></label>
				<div class="col-md-6 col-sm-10">
					<input type="text" class="form-control" id="input-num" name="num" value="{$template.num}">
				</div>
			</div>
			<div class="form-group">
				<label for="input-description" class="col-sm-2 control-label">模板描述</label>
				<div class="col-md-6 col-sm-10">
					<textarea class="form-control" name="description" id="input-description">{$template.description}</textarea>
				</div>
			</div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <input type="hidden" name="id" value="{$template.id}">
                <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('SAVE')}</button>
            </div>
        </div>
    </form>
</div>
<script src="__STATIC__/js/frontend.js"></script>
</body>
</html>